package cn.hs.mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import cn.hs.entity.Consult;

/**
* @author 86157
* @description 针对表【consult】的数据库操作Mapper
* @createDate 2024-10-23 19:50:32
* @Entity cn.hs.entity.Consult
*/
public interface ConsultMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Consult record);

    int insertSelective(Consult record);

    Consult selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Consult record);

    int updateByPrimaryKey(Consult record);

    List<Consult> findAll(Consult consult);

    List<Consult> findById(@Param("id") Integer id);
    List<Consult> findAll2(Consult consult);

    List<Integer> findIdsByName(Consult consult);
}
